package com.tust.app.dao;

import com.tust.app.domain.User;

import java.util.List;

public interface UserMapper {
    List<User> selectAllUsers();
    User selectUserById(Integer id);
    List<User> selectUserByUsername(String username);
    void writeUser(User user);
    boolean updateUserById(User user);
    boolean deleteUserById(Integer id);


}
